#ifndef FHE_TEXT_SPRITE_H
#define FHE_TEXT_SPRITE_H

#include <fhe/prims/SceneNode.h>

namespace fhe
{
  using namespace core;
  namespace text
  {
    class Sprite : public SceneNode2i
    {
    public:
      typedef SceneNode2i Super;
      
      Sprite();
      virtual ~Sprite();
      
      virtual void render( IRenderContext2i* context );
      virtual void unrender( IRenderContext2i* context );
      
      std::string text;
      int halign;
      int valign;
    };
  }
}

#endif
